package com.joysuch.wwyt.attendant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 跟班关联流程引擎
 * @author xsx
 * @version 1.0
 * @date 2023/2/16 17:45
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_attendant_record_process")
public class AttendantRecordProcess extends UserDataEntity {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "跟班记录ID")
    private Long attendantRecordId;
    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;
    /**
     * 参照 ProcessStatusEnum
     */
    @ApiModelProperty(value = "流程状态")
    private String processStatus;
    @ApiModelProperty(value = "当前流程节点名称")
    private String processCurTaskName;
    @ApiModelProperty(value = "业务类型")
    private String busType;

    private Long dataSourceId;

}
